package dataStore;

import java.rmi.Remote; 
import java.rmi.RemoteException; 
import java.sql.SQLException;

import dataStruct.*;


public interface SlaverDataStoreApiInterface extends Remote{
	public DataStoreTask get_data_store_task_bag(String dataStoreTaskId, Integer slaverId) throws RemoteException;
	public Boolean finish_download_chunk(String slaverChunkId)throws RemoteException, SQLException;
	public void fail_download_chunk(String slaverChunkId)throws RemoteException;
	public void fail_upload_chunk(String slaverChunkId)throws RemoteException;
	public void finish_upload_chunk(String dataStoreTaskId) throws RemoteException;
}
